﻿#include <QtCore/QCoreApplication>
#include "CodeOperator.h"

int main(int argc, char *argv[])
{
	QString pworkspace = QString::fromLocal8Bit(argv[1]);
	int pubcode = atoi(argv[2]);
	CodeOperator cOper(pworkspace, nullptr);
	if (pubcode == 1)
	{
		cOper.PublishCode();
	}
	else if (pubcode == 2)
	{
		cOper.ClearPublishCode();
	}
}
